package org.lld.im.service.user.service;

import org.lld.im.service.user.model.UserStatusChangeNotifyContent;
import org.lld.im.service.user.model.req.PullFriendOnlineStatusReq;
import org.lld.im.service.user.model.req.PullUserOnlineStatusReq;
import org.lld.im.service.user.model.req.SetUserCustomerStatusReq;
import org.lld.im.service.user.model.req.SubscribeUserOnlineStatusReq;
import org.lld.im.service.user.model.resp.UserOnlineStatusResp;

import java.util.Map;

/**
 * @description:
 * @author: lld
 * @version: 1.0
 */
public interface ImUserStatusService {

    public void processUserOnlineStatusNotify(UserStatusChangeNotifyContent content);


   void subscribeUserOnlineStatus(SubscribeUserOnlineStatusReq req);


   void setUserCustomerStatus(SetUserCustomerStatusReq req);

   Map<String, UserOnlineStatusResp> queryFriendOnlineStatus(PullFriendOnlineStatusReq req);

    Map<String, UserOnlineStatusResp> queryUserOnlineStatus(PullUserOnlineStatusReq req);
}
